#include "LoginDialog.h"
#include "MainWindow.h"

#include <QApplication>

int main(int argc, char* argv[]) {
    QApplication a(argc, argv);
    MainWindow   w;
    LoginDialog  dialog;
    if (dialog.exec() == QDialog::Accepted) {
        w.show();
        return a.exec();
    }

    return 0;
}
